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AAAA,GAAaA,CAAAA,CACZC,QAAStD,EAAIsD,OAAO,CAEpBpD,KAAMF,EAAInB,WAAW,CACrB6C,KAAM,wCAAwDvB,MAAA,CAAhBH,EAAInB,WAAW,CAAC,KAC9D0E,aAAc,CAAC,aAAa,CAC5BC,OAAQxD,EAAIK,MAAM,CAAC,EAAE,CAACC,GAAG,CAAGN,EAAIK,MAAM,CAAC,EAAE,CAACC,GAAG,CAAG,EAAE,CAClDsB,MAAO,CACLC,OAAQ,QACRC,KAAM,WACNC,mBAAoB,oBACtB,GATK/B,EAAInB,WAAW,QAehC","sources":["webpack://_N_E/?7c17","webpack://_N_E/./pages/free-benefit/free-crema/[companyname].tsx","webpack://_N_E/"],"sourcesContent":["\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/free-benefit/free-crema/[companyname]\",\n function () {\n return require(\"private-next-pages/free-benefit/free-crema/[companyname].tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/free-benefit/free-crema/[companyname]\"])\n });\n }\n ","import {\n DTypeMainHead,\n DTypeCardView,\n FUNERAL_SIDO,\n DTypeBreadCrumb,\n FUNERAL_SIGUNGU,\n ATypeBeneficiaryCTA,\n colors,\n ATypeMap,\n ATypeBreadCrumb,\n FullWidthButton,\n GOI_WEB_URL,\n} from \"goi_common\";\nimport { GetStaticPaths, GetStaticProps } from \"next\";\n\nimport React from \"react\";\nimport { ParlorDetailProps } from \"goi_common\";\nimport { parlorRegion } from \"@/constants/parlorRegion\";\nimport { Box, Stack } from \"@mui/material\";\nimport Head from \"next/head\";\n\nimport crematoriums from \"goi_common/src/constants/hwajang_detail.json\";\n\nconst { regionColor, targetSidos } = parlorRegion;\n\nexport const getStaticPaths: GetStaticPaths = async () => {\n const paths = crematoriums\n .filter((p) => targetSidos.includes(String(p.sido)))\n .map((crema) => ({\n params: {\n companyname: \"기초생활수급자 화장장 \" + crema.companyname,\n },\n }));\n\n return {\n paths,\n fallback: false,\n };\n};\n\nexport const getStaticProps: GetStaticProps = async ({ params }) => {\n const code = params?.companyname as string;\n const companyname = code.replace(\"기초생활수급자 화장장 \", \"\");\n let crematorium;\n let district;\n let name = \"\";\n let description = \"\";\n\n if (companyname) {\n crematorium = crematoriums.find(\n (crema) => crema.companyname === companyname\n );\n if (crematorium) {\n name = crematorium.companyname;\n\n district = crematorium.address.slice(0, 2);\n if (crematorium.address.split(\" \")[0].length == 4)\n district = crematorium.address[0] + crematorium.address[2];\n\n description = `${crematorium.companyname} 기초생활수급자 화장 비용 안내 ${crematorium.address}`;\n }\n }\n\n return {\n props: {\n defaultCrema: crematorium,\n pageDescription: description,\n pageKeywords: `${crematorium?.companyname}, ${crematorium?.companyname} 기초생활수급자, ${district} 기초생활수급자 장례, 장제비, 장제급여, 기초생활수급자 장례 얼마,`,\n pageOgTitle: ` 기초생활 보호 대상자를 위한 공설 장지 비용 안내 (${crematorium?.companyname}) :: 전라광주장례추천포털`,\n pageOgDescription: description,\n pageOgImage: crematorium?.images[0].url || \"\",\n hasError: !crematorium,\n },\n };\n};\n\nexport default function companyname({\n defaultCrema,\n pageOgTitle,\n}: {\n defaultCrema: ParlorDetailProps;\n pageOgTitle: string;\n}) {\n const regionCrematoriums = crematoriums.filter((p) =>\n targetSidos.includes(String(p.sido))\n );\n const sidoName = FUNERAL_SIDO.get(Number(defaultCrema.sido));\n const sigunguName = FUNERAL_SIGUNGU.get(Number(defaultCrema.sido))?.get(\n Number(defaultCrema.sigungu)\n );\n const carouselItems = regionCrematoriums.map((res, i) => {\n return {\n \"@type\": \"ListItem\",\n name: `(비용안내) ${res.companyname}`,\n image: `${res.images[0].url}`,\n url: `https://www.honam-funeralcenter.co.kr/free-benefit/free-crema/${res.companyname} 기초생활수급자 안내`,\n position: i + 1,\n };\n });\n\n const carouselRichSearch =\n regionCrematoriums.length > 6\n ? {\n \"@context\": \"http://schema.org\",\n \"@type\": \"ItemList\",\n itemListElement: carouselItems,\n }\n : {};\n return (\n \n \n {pageOgTitle}\n {regionCrematoriums.length > 5 && (\n \n )}\n \n \n \n\n \n \n \n \n 기초생활수급자는 화장 비용이 전액 감면됩니다.\n \n\n \n 필요 서류\n \n \n 화장 비용을 전액 감면 받기 위하여 기초생활수급자임을 증명하는 서류가\n 필요합니다.\n \n \n 필요 서류 : 국민기초생활보장수급자 증명서\n \n \n 수급자 증명서는 전국 시군구 또는 읍면동 주민센터에서 발급 가능하며,\n 무인민원발급기(본인에 한함)와 정부24 웹사이트에서 또한 발급\n 가능합니다.\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n

전라 광주 기초생활수급자 화장장

\n {regionCrematoriums.map((res) => (\n \n ))}\n
\n \n );\n}\n"],"names":["window","__NEXT_P","push","__webpack_require__","regionColor","targetSidos","parlorRegion","companyname","param","FUNERAL_SIGUNGU","defaultCrema","pageOgTitle","regionCrematoriums","crematoriums","includes","String","p","sido","sidoName","FUNERAL_SIDO","Number","sigunguName","get","sigungu","carouselItems","map","res","i","name","concat","image","images","url","position","carouselRichSearch","length","itemListElement","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsxs","Stack","Head","jsx","title","script","type","dangerouslySetInnerHTML","__html","JSON","stringify","ATypeBreadCrumb","firstItem","text","href","GOI_WEB_URL","event","domain","path","trigger_and_target","secondItem","goiHomeEvent","DTypeMainHead","mainColor","defaultParlor","managed_type","isHwajang","padding","Box","width","height","style","background","className","colors","margin","gap","ATypeBeneficiaryCTA","marginBottom","ATypeMap","h3","DTypeCardView","address","descriptions","imgSrc"],"sourceRoot":""}